package cn.dylan.service.impl;

import cn.dylan.domain.Store;
import cn.dylan.mapper.StoreMapper;
import cn.dylan.service.IStoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StoreServiceImpl implements IStoreService {
    @Autowired
    private StoreMapper storeMapper;

    @Override
    public void save(Store store) {
        try {
            storeMapper.save(store);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
